tool
extends EditorPlugin

var ui = preload("plug_UI/myplugUI.tscn").instance()
var ui2 = preload("res://addons/myplug/plug_UI/websites.tscn").instance()
var ui3 = preload("res://addons/myplug/plug_UI/quickSettings.tscn").instance()

func _enter_tree():
	add_control_to_dock(EditorPlugin.DOCK_SLOT_LEFT_UL,ui)
	add_control_to_dock(EditorPlugin.DOCK_SLOT_LEFT_BL,ui2)
	add_control_to_bottom_panel(ui3,"快速设置")
	pass


func _exit_tree():
	remove_control_from_docks(ui)
	remove_control_from_docks(ui2)
	remove_control_from_bottom_panel(ui3)
	ui.free()
	ui2.free()
	ui3.free()
	pass

